package com.itheima.tlias.service;

import com.itheima.tlias.pojo.entity.Emp;
import com.itheima.tlias.pojo.vo.PageBean;
import com.itheima.tlias.pojo.dto.SelectempDetailDTO;
import com.itheima.tlias.pojo.po.InsertEmpParam;
import com.itheima.tlias.pojo.po.SelectEmpPageParam;
import com.itheima.tlias.pojo.po.UpdateEmpParam;

import java.util.List;

public interface EmpService {
    PageBean selectEmpByPageParam(SelectEmpPageParam param);

    int insertEmp(InsertEmpParam param);

    int batchDeleteEmpByIds(List<Integer> ids);

    SelectempDetailDTO selectEmpById(Integer id);

    int updateEmp(UpdateEmpParam param);

    List<SelectempDetailDTO> selectEmpAll();

}
